<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>三栏布局</title>
		<link rel="stylesheet" type="text/css" href="../../assets/css/global.css" />
		<style type="text/css">
			.container {
				margin: 0 auto;
				width: 90%;
				min-width: 600px;
				max-width: 1200px;
			}

			/* 清除浮动的影响 */
			.container::after {
				content: '';
				display: block;
				clear: both;
			}

			.container .left {
				float: left;
				width: 20%;
			}

			.container .middle {
				float: left;
				width: 60%;
			}

			.container .right {
				float: left;
				width: 20%;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="left" style="height: 100vh; background: #fffc9b;"></div>
			<div class="middle" style="height: 100vh; background: #b0ffe8;"></div>
			<div class="right" style="height: 100vh; background: #ffc1fa;"></div>
		</div>
	</body>
</html>
